import copy

def remove_stopword(Question,stopword_dic): 
    Question_list = Question.split(',')
    Question_list_b = copy.copy(Question_list)
    for word in Question_list_b:
        if word in stopword_dic:
            Question_list.remove(word)
        if word in ['，','。','；','‘','’','！','？']:
            Question_list.remove(word)
    return Question_list

#比较函数 把A 放到 B 里面比较
def match(A,B):
    true = 0
    for i in A:
        if i in B:
            true += 1       #相当程度
    return true
